Skip to main content
PUT
/
v1
/
organizations
/
{organization_id}
/
projects
/
{project_id}
/
domains
/
{id}
/
contacts
[Domains] Update domain WHOIS contacts
curl --request PUT \
  --url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/domains/{id}/contacts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "registrant_first_name": "<string>",
  "registrant_last_name": "<string>",
  "registrant_organization": "<string>",
  "registrant_email": "jsmith@example.com",
  "registrant_phone": "<string>",
  "registrant_address_1": "<string>",
  "registrant_address_2": "<string>",
  "registrant_city": "<string>",
  "registrant_state": "<string>",
  "registrant_postcode": "<string>",
  "registrant_country": "<string>",
  "admin_first_name": "<string>",
  "admin_last_name": "<string>",
  "admin_organization": "<string>",
  "admin_email": "jsmith@example.com",
  "admin_phone": "<string>",
  "admin_address_1": "<string>",
  "admin_address_2": "<string>",
  "admin_city": "<string>",
  "admin_state": "<string>",
  "admin_postcode": "<string>",
  "admin_country": "<string>",
  "tech_first_name": "<string>",
  "tech_last_name": "<string>",
  "tech_organization": "<string>",
  "tech_email": "jsmith@example.com",
  "tech_phone": "<string>",
  "tech_address_1": "<string>",
  "tech_address_2": "<string>",
  "tech_city": "<string>",
  "tech_state": "<string>",
  "tech_postcode": "<string>",
  "tech_country": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "task_type": "register",
  "status": "pending",
  "created": "2023-11-07T05:31:56Z",
  "started_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).

Path Parameters

id
string
required

The unique identifier (UUID) of the domain

organization_id
string<uuid>
required
project_id
string<uuid>
required

Body

application/json
registrant_first_name
string
Maximum string length: 100
registrant_last_name
string
Maximum string length: 100
registrant_organization
string
Maximum string length: 255
registrant_email
string<email>
registrant_phone
string
Maximum string length: 50
registrant_address_1
string
Maximum string length: 255
registrant_address_2
string
Maximum string length: 255
registrant_city
string
Maximum string length: 100
registrant_state
string
Maximum string length: 100
registrant_postcode
string
Maximum string length: 20
registrant_country
string
Maximum string length: 2
admin_first_name
string
Maximum string length: 100
admin_last_name
string
Maximum string length: 100
admin_organization
string
Maximum string length: 255
admin_email
string<email>
admin_phone
string
Maximum string length: 50
admin_address_1
string
Maximum string length: 255
admin_address_2
string
Maximum string length: 255
admin_city
string
Maximum string length: 100
admin_state
string
Maximum string length: 100
admin_postcode
string
Maximum string length: 20
admin_country
string
Maximum string length: 2
tech_first_name
string
Maximum string length: 100
tech_last_name
string
Maximum string length: 100
tech_organization
string
Maximum string length: 255
tech_email
string<email>
tech_phone
string
Maximum string length: 50
tech_address_1
string
Maximum string length: 255
tech_address_2
string
Maximum string length: 255
tech_city
string
Maximum string length: 100
tech_state
string
Maximum string length: 100
tech_postcode
string
Maximum string length: 20
tech_country
string
Maximum string length: 2

Response

Contact update task created and queued for processing

id
string<uuid>
required
read-only
task_type
enum<string>
required
read-only
  • register - register
  • transfer_in - transfer in
  • transfer_out - transfer out
  • renew - renew
  • update_nameservers - update nameservers
  • update_contacts - update contacts
  • get_epp_code - get epp code
  • enable_whois_privacy - enable whois privacy
  • disable_whois_privacy - disable whois privacy
  • lock_domain - lock domain
  • unlock_domain - unlock domain
  • create_dns_zone - create dns zone
  • delete_dns_zone - delete dns zone
  • create_dns_record - create dns record
  • update_dns_record - update dns record
  • delete_dns_record - delete dns record
  • sync_dns_records - sync dns records
Available options:
register,
transfer_in,
transfer_out,
renew,
update_nameservers,
update_contacts,
get_epp_code,
enable_whois_privacy,
disable_whois_privacy,
lock_domain,
unlock_domain,
create_dns_zone,
delete_dns_zone,
create_dns_record,
update_dns_record,
delete_dns_record,
sync_dns_records
status
enum<string>
required
read-only
  • pending - pending
  • running - running
  • completed - completed
  • failed - failed
  • cancelled - cancelled
Available options:
pending,
running,
completed,
failed,
cancelled
created
string<date-time>
required
read-only
started_at
string<date-time> | null
required
read-only
completed_at
string<date-time> | null
required
read-only